libxl: remove stubdom device model save file when destroying stubdom
authorIan Campbell <ian.campbell@citrix.com>
Thu, 15 Dec 2011 16:56:21 +0000 (16:56 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 15 Dec 2011 16:56:21 +0000 (16:56 +0000)
commit6e359548a1c9afdaee765ccd8b9635424acdb1bd
treed42abac634a6917b66213d14a3ce085197f037dd
parentac5298f260edaf5c07f8eb9ec329a1ee104bd664
libxl: remove stubdom device model save file when destroying stubdom

/var/lib/xen/qemu-save.<domid> is created when the stub domain is started
(connected to a stubdom console) and is used to save the device model state on
suspend/migrate but never cleaned up.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_dm.c
tools/libxl/libxl_dom.c
tools/libxl/libxl_internal.h